package it.cqupt.service.system;

import com.github.pagehelper.PageInfo;
import it.cqupt.domain.store.Company;
import it.cqupt.domain.system.Dept;

import java.util.List;

public interface DeptService {
    void save(Dept dept);
    void delete(Dept dept);
    void update(Dept dept);
    Dept findById(String id);
    List<Dept> findAll();
    //使用pagehelper这个工具来直接实现分页显示
    PageInfo findAll(int page, int size);
}
